Simpler\Services\QuotationService S

Total Complexity 39
Dependencies 23
Dependents 3
Total lines 325
Lines of code 185
Logical lines of code 99
Comment lines 85
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
quote()
S
51 7 27
calculate_shipping_rates()
S
54 6 20
create_quoted_products()
S
53 5 23
maybe_apply_coupon()
S
56 5 17
add_item_to_cart()
S
61 4 12
calculate_quotations_total()
S
52 3 23
create_fees()
S
62 2 13
register_filters()
S
56 1 23
init()
S
68 1 7
coupon_exists()
S
80 1 3
register_actions()
S
74 1 5
individually_sold_product_exception()
S
76 1 4
unpurchasable_product_exception()
S
76 1 4
out_of_stock_product_exception()
S
76 1 4